PHP_ARG_ENABLE(phnqbabel, whether to enable PhnqBabel support,
	[ --enable-phnqbabel   Enable PhnqBabel support])



if test "$PHP_PHNQBABEL" = "yes"; then
	PHP_REQUIRE_CXX

	PHP_ADD_LIBRARY_WITH_PATH("boost_thread", "../../../ext/boost/lib/Darwin_i386")
	PHP_ADD_LIBRARY_WITH_PATH("boost_regex", "../../../ext/boost/lib/Darwin_i386")
    PHP_ADD_INCLUDE("/Users/pg/dev/boost/home", 1)

	PHP_ADD_LIBRARY_WITH_PATH(uth, "../../../uth")
    PHP_ADD_INCLUDE("../../../uth/src", 1)

	PHP_ADD_LIBRARY_WITH_PATH(phnqlets, "../../../phnqlets")
    PHP_ADD_INCLUDE("../../../phnqlets/src", 1)

	AC_DEFINE(HAVE_PHNQBABEL, 1, [Whether you have PhnqBabel])
	PHP_NEW_EXTENSION(phnqbabel, phnqbabel.cc, $ext_shared)
fi
